How to develop an After Export script